<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="contextPath" value="${pageContext.request.contextPath}"></c:set>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- 包含公共的JSP代码片段 -->

<title>无线点餐平台</title>



<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/docs/style/js/jquery.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/docs/style/js/page_common.js"></script>
<link
	href="${pageContext.request.contextPath}/static/docs/style/css/common_style_blue.css"
	rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/docs/style/css/index_1.css" />
<link
	href="${pageContext.request.contextPath}/static/docs/style/css/index.css"
	rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/docs/style/css/dis_message.css" />
</head>
<body style="text-align: center">
	<div id="all">
		<!--左边菜品详细信息 -->
		<form action="${food.id}" method="post"	modelAttribute="food">
		<div id="menu1">
			<div class="menu2" style="text-align: center;">
				<img
					src="${pageContext.request.contextPath}/static/docs/style/images/order_detials_bg.png" />
			</div>
			
			<div class="menu3"	>
				<div class="menu3_left">
					<img
						src="${pageContext.request.contextPath}/static/docs/style/images/${food.img}.jpg"
						style="width: 270px; height: 290px;" />
				</div>
				<div class="menu3_right">
					<p>菜名:${food.foodname}</p>
					<td>价格:${food.price}</td><br/>
					<td>会员价:${food.mprice}</td><br/>
					<tr>简介:${food.remark}</tr>
				</div>
			</div>
			<div class="menu4">

				<a
					href="${pageContext.request.contextPath}/clientCart/${food.id}"
					style="background:url(${pageContext.request.contextPath}/static/docs/style/images/img/order_left_corner_bg.png);">放入餐车</a>
				<a href="#" onclick="javascript:history.go(-1);"
					style="background:url(${pageContext.request.contextPath}/static/docs/style/images/img/order_right_corner_bg.png);">返回</a>
			</div>
		</div>
</form>
		<!-- 右边菜系列表，菜品搜索框  -->
		<div id="dish_class">
			<div id="dish_top">
				<ul>
					<li class="dish_num"></li>
					<li><a
						href="${pageContext.request.contextPath}/xiadan/${orders.id}">
							<img
							src="${pageContext.request.contextPath}/static/docs/style/images/call2.gif" />
					</a></li>
				</ul>
			</div>

			<div id="dish_2">
				<ul>
					<c:forEach items="${foodTypeList1}" var="foodType">
						<li>
							<a
						href="${pageContext.request.contextPath}/caidan/${foodType.id}">${foodType.typename}</a>
							
						</li>
				</c:forEach>			

				</ul>
			</div>
			
		</div>
	</div>
</body>
</html>